Writing CGI scripts in Tcl
نویسنده
چکیده
CGI scripts enable dynamic generation of HTML pages. This paper describes how to write CGI scripts using Tcl. Many people use Tcl for this purpose already but in an ad hoc way and without realizing many of the more nonobvious benefits. This paper reviews these benefits and provides a framework and examples. Canonical solutions to HTML quoting problems are presented. This paper also discusses using Tcl for the generation of different formats from the same document. As an example, FAQ generation in both text and HTML are described.
منابع مشابه
Writing CGI scripts in
CGI scripts enable dynamic generation of HTML pages. This paper describes how to write CGI scripts using Tcl. Many people use Tcl for this purpose already but in an ad hoc way and without realizing many of the more non-obvious benefits. T h i s paper reviews these benefits and provides a framework and examples. Canonical solutions to HTh4L quoting problems are presented. T h i s paper also disc...
متن کاملHow to Avoid Learning Expect -or- Automating Automating Interactive Programs
Expect is a tool for automating interactive programs. Expect is controlled by writing Tcl scripts, traditionally a manual process. This paper describes Autoexpect – a tool that generates Expect scripts automatically by watching actual interactions and then writing the appropriate script. Using Autoexpect, it is possible to create Expect scripts without writing any actual Expect statements and w...
متن کاملTksh: A Tcl Library for KornShell
This paper describes Tksh, an implementation of the Tcl C library written on top of the library for the new KornShell (ksh93). Tksh emulates the behavior of Tcl by using the API that is provided for extending ksh93, which is similar to the Tcl library in that it allows access to variables, functions and other state of the interpreter. This implementation requires no modi cation to ksh93, and al...
متن کاملA World Wide Web-to-Database Connectivity using Tcl/Tk: The Hydrology-Meteorology Toolkit
The Hydrology-Meteorology Toolkit is a Tcl/Tk applets library for numerical/graphical processing hydrometeorological data. It uses Tcl/Tk as a basic language. With the Tcl/Tk Plugin installed on the W3 browser side, applets use the HTTP protocol for querying an Oracle database server and managing i/o C programs towards Tcl CGI scripts. 1. The MED-HYCOS project The World Meteorological Organizat...
متن کاملWebSubmit: Web-based Applications with Tcl
WebSubmit is a Web-based framework providing seamless access to applications on a collection of heterogeneous computing systems. Strong authentication methods allow users to execute tasks on remote systems as if they were directly connected. Each application is presented as an HTML form; this form is lled out and submitted to the server, which then processes the request and executes the desired...
متن کامل